package com.etb.wisdom.eframe.framework.action;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.springframework.beans.factory.annotation.Autowired;

import com.etb.web.action.ETBAction;
import com.etb.wisdom.eframe.framework.service.AppFunctionService;
import com.etb.wisdom.eframe.model.AppFunction;

@Action("func")
@Namespace("/eframe/framework/function")
public class AppFunctionAction extends ETBAction<AppFunction> {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8895951735891272869L;

	@Autowired
	public AppFunctionService funcService;
	
	@Override
	public void save() {
		funcService.save(dataObject);
	}
}